#pragma once
#include "IPipelineBindable.h"
#include "Resource.h"
#include "IDisposable.h"

#include <gl\glew.h>
#include "Enums.h"



class EXPORT VertexBuffer : public IPipelineBindable , public Resource
{
	GLuint buffer;

public:
	VertexBuffer(void);
	~VertexBuffer(void);

	void Bind();
	void Dispose();
	void Unbind();
	void BufferData(unsigned int lenght,void * data,Usage usage);
	
};

